package cn.itcast.bos.domain.base;

/**
 * Created by xbqco on 2018/7/13.
 */

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonIgnore;
        import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

        import javax.persistence.*;
        import javax.xml.bind.annotation.XmlRootElement;
        import java.util.HashSet;
        import java.util.Set;


/**
 * @description:地域信息实体类，主要包含 省市区(县)
 */
@Entity
@Table(name = "T_AREA")

public class Area {

    @Id
    @Column(name = "A_ID")
    private String id;//id
    @Column(name = "A_PROVINCE")
    private String province;//省份;
    @Column(name = "A_CITY")
    private String city;//市区
    @Column(name = "A_DISTRICT")
    private String district;//县区
    @Column(name = "A_POSTCODE")
    private String postcode;//邮编
    @Column(name = "A_SHORTCODE")
    private String shortcode;//简码
    @Column(name = "A_CITYCODE")
    private String citycode;//城市编码

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getDistrict() {
        return district;
    }

    public void setDistrict(String district) {
        this.district = district;
    }

    public String getPostcode() {
        return postcode;
    }

    public void setPostcode(String postcode) {
        this.postcode = postcode;
    }

    public String getShortcode() {
        return shortcode;
    }

    public void setShortcode(String shortcode) {
        this.shortcode = shortcode;
    }

    public String getCitycode() {
        return citycode;
    }

    public void setCitycode(String citycode) {
        this.citycode = citycode;
    }

}

